package com.ruoyi.buy.domain.entity.PO;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 移动单明细对象 inv_inout_bill_item
 * 
 * @author ruoyi
 * @date 2023-12-18
 */
public class InvInoutBillItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 主表ID */
    @Excel(name = "主表ID")
    private Long nMainId;

    /** 零件代码 */
    @Excel(name = "零件代码")
    private String vSpa;

    /** 零件名称 */
    @Excel(name = "零件名称")
    private String vSpaName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String vSpaModel;

    /** 品牌 */
    @Excel(name = "品牌")
    private String vSpaBrand;

    /** 单位 */
    @Excel(name = "单位")
    private String vUnit;

    /** 成本价格 */
    @Excel(name = "成本价格")
    private BigDecimal nPrice;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal nQty;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String vProjectNo;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String vProjectDec;

    /** 仓库iD */
    @Excel(name = "仓库iD")
    private String vWHId;

    /** 库区 */
    @Excel(name = "库区")
    private String vAreaId;

    /** 库区 */
    @Excel(name = "库区")
    private String vLocationId;

    private String vLocationName;

    /** 执行人 */
    @Excel(name = "执行人")
    private String vOpr;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyBy;

    private String iotype;

    private Long vLotNo;

    private String vContractNo;

    private String vBuyNo;

    public String getvBuyNo() {
        return vBuyNo;
    }

    public void setvBuyNo(String vBuyNo) {
        this.vBuyNo = vBuyNo;
    }

    public String getvContractNo() {
        return vContractNo;
    }

    public void setvContractNo(String vContractNo) {
        this.vContractNo = vContractNo;
    }

    public Long getvLotNo() {
        return vLotNo;
    }

    public void setvLotNo(Long vLotNo) {
        this.vLotNo = vLotNo;
    }

    public String getIotype() {
        return iotype;
    }

    public void setIotype(String iotype) {
        this.iotype = iotype;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setnMainId(Long nMainId) 
    {
        this.nMainId = nMainId;
    }

    public Long getnMainId() 
    {
        return nMainId;
    }
    public void setvSpa(String vSpa) 
    {
        this.vSpa = vSpa;
    }

    public String getvSpa() 
    {
        return vSpa;
    }
    public void setvSpaName(String vSpaName) 
    {
        this.vSpaName = vSpaName;
    }

    public String getvSpaName() 
    {
        return vSpaName;
    }
    public void setvSpaModel(String vSpaModel) 
    {
        this.vSpaModel = vSpaModel;
    }

    public String getvSpaModel() 
    {
        return vSpaModel;
    }
    public void setvSpaBrand(String vSpaBrand) 
    {
        this.vSpaBrand = vSpaBrand;
    }

    public String getvSpaBrand() 
    {
        return vSpaBrand;
    }
    public void setvUnit(String vUnit) 
    {
        this.vUnit = vUnit;
    }

    public String getvUnit() 
    {
        return vUnit;
    }
    public void setnPrice(BigDecimal nPrice) 
    {
        this.nPrice = nPrice;
    }

    public BigDecimal getnPrice() 
    {
        return nPrice;
    }
    public void setnQty(BigDecimal nQty) 
    {
        this.nQty = nQty;
    }

    public BigDecimal getnQty() 
    {
        return nQty;
    }
    public void setvProjectNo(String vProjectNo) 
    {
        this.vProjectNo = vProjectNo;
    }

    public String getvProjectNo() 
    {
        return vProjectNo;
    }
    public void setvProjectDec(String vProjectDec) 
    {
        this.vProjectDec = vProjectDec;
    }

    public String getvProjectDec() 
    {
        return vProjectDec;
    }
    public void setvWHId(String vWHId) 
    {
        this.vWHId = vWHId;
    }

    public String getvWHId() 
    {
        return vWHId;
    }
    public void setvAreaId(String vAreaId) 
    {
        this.vAreaId = vAreaId;
    }

    public String getvAreaId() 
    {
        return vAreaId;
    }
    public void setvLocationId(String vLocationId) 
    {
        this.vLocationId = vLocationId;
    }

    public String getvLocationId() 
    {
        return vLocationId;
    }
    public void setvOpr(String vOpr) 
    {
        this.vOpr = vOpr;
    }

    public String getvOpr() 
    {
        return vOpr;
    }
    public void setApplyBy(String applyBy) 
    {
        this.applyBy = applyBy;
    }

    public String getApplyBy() 
    {
        return applyBy;
    }

    public String getvLocationName() {
        return vLocationName;
    }

    public void setvLocationName(String vLocationName) {
        this.vLocationName = vLocationName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nMainId", getnMainId())
            .append("vSpa", getvSpa())
            .append("vSpaName", getvSpaName())
            .append("vSpaModel", getvSpaModel())
            .append("vSpaBrand", getvSpaBrand())
            .append("vUnit", getvUnit())
            .append("nPrice", getnPrice())
            .append("nQty", getnQty())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("vProjectNo", getvProjectNo())
            .append("vProjectDec", getvProjectDec())
            .append("vWHId", getvWHId())
            .append("vAreaId", getvAreaId())
            .append("vLocationId", getvLocationId())
            .append("vOpr", getvOpr())
            .append("applyBy", getApplyBy())
                .append("vLotNo", getvLotNo())
                .append("vContractNo", getvContractNo())
            .toString();
    }
}
